package com.ipzoe.app.convert;

import com.ipzoe.app.dto.OrderDTO;
import com.ipzoe.app.dto.OrderDetailDTO;
import com.ipzoe.cms.domain.Agreement;
import com.ipzoe.oms.domain.Order;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface AgreementConvert {

    AgreementConvert INSTANCE = Mappers.getMapper(AgreementConvert.class);

    List<OrderDetailDTO.agreementDTO> convert(List<Agreement> list);

}
